package com.atguigu.service;

import org.springframework.stereotype.Component;

@Component
public class OrderServiceFallback implements OrderService{
    @Override
    public String payment_error(Integer id) {
        return "程序出错，被Hystrix拦截";
    }

    @Override
    public String ok() {
        return "OK方法错误！！";
    }
}
